{% extends 'database/base.html' %}
{% load my_tags %}

{% block title_content %}创建菜品{% endblock %}

{% block body_content %}
  <h1 class="display-1">创建菜品</h1>
  <form action="{% url 'delivery_database:seller_food_create' id %}" method="post">
    {% csrf_token %}
  <div class="row mb-3">
    <label>ID：</label>
    <input type="text" name="id" class="form-control">
  </div>
    <div class="row mb-3">
    <label>商铺ID：</label>
      <input type="text" name="sto_id" class="form-control">
  </div>
    <div class="row mb-3">
    <label>名字：</label>
      <input type="text" name="name" class="form-control">
  </div>
    <div class="row mb-3">
    <label>单价：</label>
      <input type="number" name="price" class="form-control">
  </div>
  <p><button class="btn btn-primary" type="submit">创建</button></p>
  </form>
{% endblock %}